<?php

declare(strict_types=1);
/*
 * This file is part of Leonsw.
 *
 * @link     https://leonsw.com
 * @document https://docs.leonsw.com
 * @contact  leonsw.com@gmail.com
 * @license  https://leonsw.com/LICENSE
 */

namespace App\Resource\User;


use Illuminate\Http\Resources\Json\JsonResource;

class UserLinkmanResource extends JsonResource
{
    public function toArray($request)
    {
        return [
            'user_id'      => $this->link_user_id ?? '',
            'bg_picture'      => $this->bg_picture ?? '',
            'remarks'     => $this->remarks ?? '',
        ];
    }
}
